//#include "usbhost_private.h"

#include "Usb_ch374.h"
#include "Usb_ch374_device.h"
#include "Usb_ch374_host.h"
#include "Usb_interface.h"
#include "widget.h"
#include "gui.h"

bool LAIsConnect(void)
{
    return (bXXGFlags.UDiskOK == USB_IS_LA);
}

void DrawLeftTriangle(short x0, short y0)
{
    short i;
    for(i=0; i<6; i++)
    {
        GUI_DrawLine(x0+i, y0-i, x0+i, y0+i, PRESSED_BTN_COLOR);
    }
}

void DrawRightTriangle(short x0, short y0)
{
    short i;
    for(i=0; i<6; i++)
    {
        GUI_DrawLine(x0+i, y0-(6-i), x0+i, y0+(6-i), GUI_WHITE);
    }
}

